

class InterestTagEntity{
  String name;
  String imgPath;
  bool selected = false;

  InterestTagEntity({this.name, this.imgPath});

  InterestTagEntity.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    imgPath = json['imgPath'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['name'] = this.name;
    data['imgPath'] = this.imgPath;
    return data;
  }
}